package com.ruoyi.jihuo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.jihuo.domain.JhSysTrafficRecord;
import com.ruoyi.jihuo.domain.search.JhSysTrafficRecordSearch;

import java.util.List;

public interface JhSysTrafficRecordMapper extends BaseMapper<JhSysTrafficRecord> {

    public List<JhSysTrafficRecord> selectJhSysTrafficRecordList(JhSysTrafficRecordSearch jhSysTrafficRecord);

    public int insertJhSysTrafficRecord(JhSysTrafficRecord jhSysTrafficRecord);

    public JhSysTrafficRecord selectJhSysTrafficRecordById(Long id);

    public int updateJhSysTrafficRecord(JhSysTrafficRecord jhSysTrafficRecord);

    public int deleteJhSysTrafficRecordById(Long id);

    public List<JhSysTrafficRecord> selectJhSysTrafficRecordListBySellClient(Long id);

    public int rechargeTraffic(JhSysTrafficRecord jhSysTrafficRecord);

    public List<JhSysTrafficRecord> selectJhSysTrafficRecordListByTraffic(String jhTraffic);

}
